net: qualcomm: rmnet: Remove redundant check when stamping map header
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Sun, 7 Jan 2018 18:36:31 +0000 (11:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jan 2018 18:58:48 +0000 (13:58 -0500)
commit4b5ba67745fec91c77f30eb1ac7a8f03201a696f
tree76ee4f52f8354c59e656fdb5c5d96b84691d7a6f
parentf66faae2f80a45feafc04ce63ef744ac4b6e8c05
net: qualcomm: rmnet: Remove redundant check when stamping map header

We already check the headroom once in rmnet_map_egress_handler(),
so this 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_data.c