Jeff Garzik 6f686d3d14 kernel/auditfilter: kill bogus uninit'd-var compiler warning
Kill this warning...

kernel/auditfilter.c: In function ‘audit_receive_filter’:
kernel/auditfilter.c:1213: warning: ‘ndw’ may be used uninitialized in this function
kernel/auditfilter.c:1213: warning: ‘ndp’ may be used uninitialized in this function

...with a simplification of the code.  audit_put_nd() can accept NULL
arguments, just like kfree().  It is cleaner to init two existing vars
to NULL, remove the redundant test variable 'putnd_needed' branches, and call
audit_put_nd() directly.

As a desired side effect, the warning goes away.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-07-17 16:17:59 -04:00
..
2007-07-16 09:05:47 -07:00
2007-07-16 09:05:48 -07:00
2007-07-16 12:05:49 +03:00
2007-07-16 09:05:49 -07:00
2006-12-07 08:39:36 -08:00
2007-07-16 09:05:50 -07:00
2006-12-04 02:00:22 -05:00
2007-07-16 09:05:47 -07:00
2007-05-09 12:30:56 -07:00
2007-05-21 09:18:19 -07:00
2007-07-17 10:23:03 -07:00
2007-07-13 14:14:28 +02:00
2007-07-16 09:05:49 -07:00
2007-07-16 09:05:49 -07:00
2007-07-16 09:05:49 -07:00
2007-07-09 18:51:58 +02:00
2007-07-16 09:05:50 -07:00
2007-07-16 09:05:43 -07:00
2007-07-16 09:05:50 -07:00
2007-07-17 10:23:03 -07:00
2007-07-16 09:05:48 -07:00
2007-07-16 09:05:47 -07:00
2007-05-09 08:57:56 +02:00
2007-07-17 10:23:03 -07:00