From: zhong jiang <zhongjiang@huawei.com>Date: Sun, 16 Sep 2018 21:45:02 +0800> put_device has taken the null pinter check into account. So it is> safe to remove the duplicated check before put_device.> > Signed-off-by: zhong jiang <zhongjiang@huawei.com>Applied.