net: qualcomm: rmnet: Fix the return value of rmnet_rx_handler()
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Thu, 26 Oct 2017 17:06:46 +0000 (11:06 -0600)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Oct 2017 15:10:23 +0000 (00:10 +0900)
commit2ffbbf0f91288f909b3d495cbf029d8e4cc7db66
tree80314edd9c81558d16252ec2d1c6324029947e4a
parentcc49c8ff68144d64de18fc5d0039356e0060c0e4
net: qualcomm: rmnet: Fix the return value of rmnet_rx_handler()

Since packet is always consumed by rmnet_rx_handler(), we always
return RX_HANDLER_CONSUMED. There is no need to pass on this
value through multiple functions.

Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c
drivers/net/ethernet/qualcomm/rmnet/rmnet_map.h
drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c