net: qualcomm: rmnet: Remove redundant command check
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Wed, 16 May 2018 00:52:02 +0000 (18:52 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2018 18:23:04 +0000 (14:23 -0400)
commit721ce0f644401c923a266cb084c40ebc58b18f93
treebd6bbcecf8b1d0c9cfbc5ab3fe182c32f3d7fe2b
parentbbde32d38bfbbc4a6970498c7470a8a817122735
net: qualcomm: rmnet: Remove redundant command check

The command packet size is already checked once in
rmnet_map_deaggregate() for the header, packet and trailer size, so
this additional check is not needed.

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