diff options
author | Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com> | 2017-04-12 11:08:15 +0200 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2017-04-12 12:33:36 +0200 |
commit | c9c31b07bab5fee3ef0bf163afc11b1100eb10d4 (patch) | |
tree | 1cd0d43091d53dd4cab77189802eda02d9612a0e /kernel/sys.c | |
parent | 1877888d0ad21858693d8a5594734b125a068638 (diff) |
vfio: ccw: remove unnecessary NULL checks of a pointer
Remove several unnecessary checks for the @private pointer, since it
can never be NULL in these places.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Message-Id: <20170412090816.79108-2-bjsdjshi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions