aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2012-04-23 14:25:49 +0000
committerDavid S. Miller <davem@davemloft.net>2012-04-23 22:14:47 -0400
commitb98985073bc5403ef1320866e4ef8bbc5d587ceb (patch)
tree316170ba340cfa9dbd4a39efb19e7e1f736bd236 /net
parentnet sysctl: Add place holder functions for when sysctl support is compiled out of the kernel. (diff)
downloadlinux-dev-b98985073bc5403ef1320866e4ef8bbc5d587ceb.tar.xz
linux-dev-b98985073bc5403ef1320866e4ef8bbc5d587ceb.zip
net ax25: Fix the build when sysctl support is disabled.
Randy Dunlap <rdunlap@xenotime.net> reported: > On 04/23/2012 12:07 AM, Stephen Rothwell wrote: > >> Hi all, >> >> Changes since 20120420: > > > include/net/ax25.h:447:75: error: expected ';' before '}' token > > static inline int ax25_register_dev_sysctl(ax25_dev *ax25_dev) { return 0 }; > static inline void ax25_unregister_dev_sysctl(ax25_dev *ax25_dev) {}; > > First function: move ';' inside braces. > Second function: drop the ';'. Put the semicolons where it makes sense. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Acked-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions