Re: [PATCH 2/2] scsi: ses: Remove unnecessary error check

From: Greg KH
Date: Wed Nov 29 2017 - 06:05:31 EST


On Sat, Nov 11, 2017 at 08:46:20PM +0530, Arvind Yadav wrote:
> It is not necessary to check return value of class_register.
> enclosure_init returns both successful and error value.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@xxxxxxxxx>
> ---
> drivers/misc/enclosure.c | 8 +-------
> 1 file changed, 1 insertion(+), 7 deletions(-)

Same subject error here :(