]> 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)
commit071142651582535e030722002be26306566208e7
tree871e0358a21346f075ba0b6251c9d8aa117278e5
parent89ef4e57a3bacac294cf48a56c632df8ca18310d
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