Searched hist:c9c31b07bab5fee3ef0bf163afc11b1100eb10d4 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/s390/cio/ |
H A D | vfio_ccw_fsm.c | diff c9c31b07bab5fee3ef0bf163afc11b1100eb10d4 Wed Apr 12 04:08:15 CDT 2017 Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com> 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>
|
H A D | vfio_ccw_ops.c | diff c9c31b07bab5fee3ef0bf163afc11b1100eb10d4 Wed Apr 12 04:08:15 CDT 2017 Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com> 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>
|