Skip to content
Commit 85554bcd authored by Denis Efremov's avatar Denis Efremov Committed by David S. Miller
Browse files

net/hamradio/6pack: remove redundant check in sp_encaps()



"len > sp->mtu" checked twice in a row in sp_encaps().
Remove the second check.

Signed-off-by: default avatarDenis Efremov <efremov@linux.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent abbf9a0e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment