OSDN Git Service

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)
commit0ac4bd68ab50a9f0860b10caacc1285fda5da0ca
tree871e0358a21346f075ba0b6251c9d8aa117278e5
parent045203e90ed30807bfacd80b2e3c64be068ca8a5
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