Re: [PATCH] net: dsa: remove redundant null pointer check before put_device
From: David Miller
Date: Mon Sep 17 2018 - 11:21:06 EST
From: zhong jiang <zhongjiang@xxxxxxxxxx>
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@xxxxxxxxxx>
Applied.