diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2016-02-24 14:15:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-08 03:11:14 +0300 |
commit | 54555919e8a1b5881b130ed5dea8023ff009cbe7 (patch) | |
tree | 1a05017ab99a08c4a8083e413fc21532fc43d70f /drivers/vme | |
parent | 5f5357335e2816ec3f9fe62337bc8dc1725992e8 (diff) | |
download | linux-54555919e8a1b5881b130ed5dea8023ff009cbe7.tar.xz |
tty: audit: remove unused variable
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.
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/vme')
0 files changed, 0 insertions, 0 deletions