Commit c5efcf17 authored by Gaurav Singh's avatar Gaurav Singh Committed by David S. Miller
Browse files

tcindex_change: Remove redundant null check



arg cannot be NULL since its already being dereferenced
before. Remove the redundant NULL check.

Signed-off-by: default avatarGaurav Singh <gaurav1086@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 75674e31
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -533,7 +533,7 @@ tcindex_change(struct net *net, struct sk_buff *in_skb,

	pr_debug("tcindex_change(tp %p,handle 0x%08x,tca %p,arg %p),opt %p,"
	    "p %p,r %p,*arg %p\n",
	    tp, handle, tca, arg, opt, p, r, arg ? *arg : NULL);
	    tp, handle, tca, arg, opt, p, r, *arg);

	if (!opt)
		return 0;