diff options
| author | Radu Pirea (NXP OSS) <radu-nicolae.pirea@oss.nxp.com> | 2023-12-19 16:53:27 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2023-12-27 13:08:09 +0000 |
| commit | b1c036e835b67320316e20e562cc3b4daf8fa08b (patch) | |
| tree | b1a95969f407ea4af305cda0e2a7fc666d8cebdd /drivers/net/netdevsim | |
| parent | net: macsec: use skb_ensure_writable_head_tail to expand the skb (diff) | |
| download | linux-b1c036e835b67320316e20e562cc3b4daf8fa08b.tar.gz linux-b1c036e835b67320316e20e562cc3b4daf8fa08b.zip | |
net: macsec: move sci_to_cpu to macsec header
Move sci_to_cpu to the MACsec header to use it in drivers.
Signed-off-by: Radu Pirea (NXP OSS) <radu-nicolae.pirea@oss.nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netdevsim')
| -rw-r--r-- | drivers/net/netdevsim/macsec.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/netdevsim/macsec.c b/drivers/net/netdevsim/macsec.c index 0d5f50430dd3..aa007b1e4b78 100644 --- a/drivers/net/netdevsim/macsec.c +++ b/drivers/net/netdevsim/macsec.c @@ -3,11 +3,6 @@ #include <net/macsec.h> #include "netdevsim.h" -static inline u64 sci_to_cpu(sci_t sci) -{ - return be64_to_cpu((__force __be64)sci); -} - static int nsim_macsec_find_secy(struct netdevsim *ns, sci_t sci) { int i; |
