Re: [PATCH 1/2] crypto: atmel-sha: Removed unused variable "err"

2015-12-17 Thread Herbert Xu
On Mon, Dec 14, 2015 at 08:44:19AM +, Pathak, Rahul (R.) wrote: > From: Rahul Pathak > > Removed unused variable "err" and directly return "0" > > Reported by coccicheck - > ./drivers/crypto/atmel-sha.c:758:5-8: Unneeded variable: "err". Return "0" on > line 766 > > Signed-off-by: Rahul

Re: [PATCH 1/2] crypto: atmel-sha: Removed unused variable "err"

2015-12-17 Thread Herbert Xu
On Mon, Dec 14, 2015 at 08:44:19AM +, Pathak, Rahul (R.) wrote: > From: Rahul Pathak > > Removed unused variable "err" and directly return "0" > > Reported by coccicheck - > ./drivers/crypto/atmel-sha.c:758:5-8: Unneeded variable: "err". Return "0" on > line 766 > >

[PATCH 1/2] crypto: atmel-sha: Removed unused variable "err"

2015-12-14 Thread Pathak, Rahul (R.)
From: Rahul Pathak Removed unused variable "err" and directly return "0" Reported by coccicheck - ./drivers/crypto/atmel-sha.c:758:5-8: Unneeded variable: "err". Return "0" on line 766 Signed-off-by: Rahul Pathak --- drivers/crypto/atmel-sha.c | 3 +-- 1 file changed, 1 insertion(+), 2

[PATCH 1/2] crypto: atmel-sha: Removed unused variable "err"

2015-12-14 Thread Pathak, Rahul (R.)
From: Rahul Pathak Removed unused variable "err" and directly return "0" Reported by coccicheck - ./drivers/crypto/atmel-sha.c:758:5-8: Unneeded variable: "err". Return "0" on line 766 Signed-off-by: Rahul Pathak --- drivers/crypto/atmel-sha.c | 3