diff options
author | Alex Elder <elder@linaro.org> | 2021-06-11 14:05:23 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-11 13:37:49 -0700 |
commit | 75db5b07f8c393c216fd20f7adc9a167fc684c23 (patch) | |
tree | 0519e5aacaec021c282490922e0990cf683b5eaa /drivers/net/wan/n2.c | |
parent | e4517d8a7f07b18f4f0e68940e2822a1b92b471f (diff) |
net: qualcomm: rmnet: eliminate some ifdefs
If IPV6 is not enabled in the kernel configuration, the RMNet
checksum code indicates a buffer containing an IPv6 packet is not
supported. The same thing happens if a buffer contains something
other than an IPv4 or IPv6 packet.
We can rearrange things a bit in two functions so that some #ifdef
calls can simply be eliminated.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan/n2.c')
0 files changed, 0 insertions, 0 deletions