On 02/24/2016 03:15 AM, Sudip Mukherjee wrote: > While building with W=1 we were getting build warning: > drivers/tty/tty_audit.c:149:16: warning: variable 'sessionid' set but not used > > The local variable sessionid was only assigned the value of > current->sessionid but was never reused. On further inspection it turned > out that there is no need of audit_get_loginuid() also.
Reviewed-by: Peter Hurley <[email protected]>

