We don't need this variable and it just eats stack space. Remove it.
Signed-off-by: Eric Paris <eparis@redhat.com>
static inline void flush_unauthorized_files(const struct cred *cred,
struct files_struct *files)
{
- struct common_audit_data ad;
struct file *file, *devnull = NULL;
struct tty_struct *tty;
struct fdtable *fdt;
no_tty();
/* Revalidate access to inherited open files. */
-
- ad.type = LSM_AUDIT_DATA_INODE;
-
spin_lock(&files->file_lock);
for (;;) {
unsigned long set, i;