Re: [PATCH] rts5208:Fix checkpatch warnings

2015-06-29 Thread Sudip Mukherjee
On Tue, Jun 30, 2015 at 11:25:24AM +0530, Ravi Teja Darbha wrote: > Else condition after if statement is not necessary, hence removed. else is not necessary after if??? then what it is supposed to be used? :) I think your commit message should have been: "else is not necessary after return stateme

[PATCH] rts5208:Fix checkpatch warnings

2015-06-29 Thread Ravi Teja Darbha
Else condition after if statement is not necessary, hence removed. Signed-off-by: Ravi Teja Darbha --- drivers/staging/rts5208/xd.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rts5208/xd.c b/drivers/staging/rts5208/xd.c index 10fea7b..42d8d82 10