Re: [PATCH v2] audit: removing unused variable

2015-10-28 Thread Joe Perches
On Thu, 2015-10-29 at 09:41 +0530, Saurabh Sengar wrote: > variable rc is unnecessary hence removing it, > also as the return type of function audit_log_common_recv_msg is no > where used changing it to void. Almost, but not quite. Keep at it. Ideally your first attempts at kernel patching shoul

[PATCH v2] audit: removing unused variable

2015-10-28 Thread Saurabh Sengar
variable rc is unnecessary hence removing it, also as the return type of function audit_log_common_recv_msg is no where used changing it to void. Signed-off-by: Saurabh Sengar --- kernel/audit.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/kernel/audit.c b/kernel/