Skip to content
Commit 335d9c85 authored by Ankita Patil's avatar Ankita Patil Committed by Greg Kroah-Hartman
Browse files

Staging: dgap: Remove unnecessary variable.



This patch removes unnecessary variable in file dgap.c
using Coccinelle. Semantic patch for this is as follows:

@@
expression ret;
identifier f;
@@

-ret =
+return
     f(...);
-return ret;

Also removed the unneeded variable manually.

Signed-off-by: default avatarAnkita Patil <patil.ankita.r@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 50d0a21b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment