]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: sch_api: fix code style issues
authorAlexander Aring <aring@mojatatu.com>
Mon, 4 Dec 2017 23:39:59 +0000 (18:39 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Dec 2017 20:04:27 +0000 (15:04 -0500)
commitaa80a3137d6299989501198c9cf235fd303be50f
tree871e0358a21346f075ba0b6251c9d8aa117278e5
parentda6f47b49303c4eae7e44e195046e90c8856acfc
net: sched: sch_api: fix code style issues

This patch fix checkpatch issues for upcomming patches according to the
sched api file. It changes checking on null pointer, remove unnecessary
brackets, add variable names for parameters and adjust 80 char width.

Cc: David Ahern <dsahern@gmail.com>
Signed-off-by: Alexander Aring <aring@mojatatu.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sch_generic.h
net/sched/sch_api.c