OSDN Git Service

tcindex_change: Remove redundant null check
authorGaurav Singh <gaurav1086@gmail.com>
Mon, 22 Jun 2020 02:24:30 +0000 (22:24 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2020 03:55:09 +0000 (20:55 -0700)
commitc5efcf17bf84b20dd76ca56de6dd99a40a89c4e3
tree4e3963efa8028cbf5b2d6269958c0097d4cb877d
parent75674e31593ba3b18459816d9b52b3d87dbfadc0
tcindex_change: Remove redundant null check

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

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