Peter Senna Tschudin
444f8bda81
[media] USB: as102_usb_drv.c: Remove useless return variables
...
This patch remove variables that are initialized with a constant,
are never updated, and are only used as parameter of return.
Return the constant instead of using a variable.
Verified by compilation only.
The coccinelle script that find and fixes this issue is:
// <smpl>
@@
type T;
constant C;
identifier ret;
@@
- T ret = C;
... when != ret
- return ret;
+ return C;
// </smpl>
Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com >
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com >
2014-05-25 17:39:19 -03:00
..
2014-04-02 16:23:38 -07:00
2014-04-02 16:23:38 -07:00
2014-03-18 13:30:44 -07:00
2014-04-23 16:20:15 -07:00
2013-10-29 09:05:21 -07:00
2014-03-16 21:32:32 -07:00
2014-03-19 09:17:23 -07:00
2014-03-19 13:54:39 -07:00
2014-03-17 16:42:47 -07:00
2014-03-18 10:53:21 -07:00
2014-03-08 20:27:48 -08:00
2014-04-02 16:23:38 -07:00
2014-03-19 13:41:28 -07:00
2014-03-07 10:24:50 -05:00
2014-03-16 19:53:58 -07:00
2014-03-18 11:35:53 -07:00
2014-04-16 11:41:44 -07:00
2014-04-15 14:46:43 -07:00
2014-04-26 10:51:14 +01:00
2014-04-26 11:23:38 +01:00
2014-03-16 22:01:41 -07:00
2014-04-01 16:45:00 -07:00
2014-04-12 17:31:22 -07:00
2014-05-25 17:39:19 -03:00
2014-03-08 20:31:53 -08:00
2014-03-19 13:50:23 -07:00
2014-03-07 15:19:36 -08:00
2014-04-02 20:53:45 -07:00
2014-03-20 01:51:12 +00:00
2014-02-07 10:35:30 -08:00
2014-03-18 11:58:45 -07:00
2014-02-27 12:29:24 -08:00
2013-12-17 10:08:14 -08:00
2013-12-07 01:03:14 +01:00
2014-04-16 13:07:19 -07:00
2014-04-02 16:23:38 -07:00
2014-04-02 16:23:38 -07:00
2014-04-16 13:07:19 -07:00
2014-05-16 15:23:11 -07:00
2014-04-15 11:39:09 -07:00
2014-03-16 17:41:13 -07:00
2014-03-18 11:56:51 -07:00
2014-03-10 15:06:22 -07:00
2014-03-16 17:52:00 -07:00
2014-03-18 11:18:05 -07:00
2014-03-18 11:55:31 -07:00
2014-03-18 12:11:55 -07:00
2014-04-16 11:41:44 -07:00
2013-10-29 09:05:21 -07:00
2014-03-19 09:27:39 -07:00
2014-04-16 11:41:45 -07:00
2014-04-15 14:43:01 -07:00
2014-04-15 14:46:43 -07:00
2014-03-18 11:01:21 -07:00
2014-03-19 09:00:19 -07:00
2014-03-19 09:27:39 -07:00
2014-04-02 20:53:45 -07:00
2014-03-19 13:41:27 -07:00
2014-04-17 08:10:19 +03:00
2014-03-21 12:24:09 -07:00
2014-04-16 11:35:54 -07:00
2014-04-16 11:35:54 -07:00