]> Pileus Git - ~andy/linux/blobdiff - drivers/tty/vt/consolemap.c
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[~andy/linux] / drivers / tty / vt / consolemap.c
index 2aaa0c22840953504dc1920dcb518457cca8c708..248381b30722723fcae93f8baab842520e6b57f8 100644 (file)
@@ -410,10 +410,8 @@ static void con_release_unimap(struct uni_pagedir *p)
                kfree(p->inverse_translations[i]);
                p->inverse_translations[i] = NULL;
        }
-       if (p->inverse_trans_unicode) {
-               kfree(p->inverse_trans_unicode);
-               p->inverse_trans_unicode = NULL;
-       }
+       kfree(p->inverse_trans_unicode);
+       p->inverse_trans_unicode = NULL;
 }
 
 /* Caller must hold the console lock */