Re: [PATCH] fs/notify/notification.c: make subsys_initcall functionstatic
From: Andrew Morton
Date: Thu Mar 22 2012 - 18:00:19 EST
On Wed, 21 Mar 2012 11:45:17 -0700
H Hartley Sweeten <hartleys@xxxxxxxxxxxxxxxxxxx> wrote:
> subsys_initcall functions should be marked static.
Well, I suppose there are legitimate situations where they could be
non-static(?), although those would be rather bizarre.
A better reason for making this static is that it has no references
outside this file.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/