dcb_doit: remove redundant skb check
authorGaurav Singh <gaurav1086@gmail.com>
Tue, 23 Jun 2020 02:50:39 +0000 (22:50 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jun 2020 03:27:09 +0000 (20:27 -0700)
commit0cc55e694e851921667dc80972a86feb1ca331ef
tree80ceb9d574cf8e197c8a536a362dd5cf9a458b6e
parent6f3934576853a4fa60dea74ac8822f0f016ef9e8
dcb_doit: remove redundant skb check

skb cannot be NULL here since its already being accessed
before: sock_net(skb->sk). Remove the redundant null check.

Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dcb/dcbnl.c