mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
s390/css: unneeded initialization in for_each_subchannel
The ret variable is always set by the fn function. There is no need to initialize it. Signed-off-by: Pierre Morel <[email protected]> Reviewed-By: Sascha Silbe <[email protected]> Acked-by: Cornelia Huck <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
This commit is contained in:
parent
295d8fa961
commit
8f0ba83178
1 changed files with 0 additions and 1 deletions
|
|
@ -44,7 +44,6 @@ for_each_subchannel(int(*fn)(struct subchannel_id, void *), void *data)
|
|||
int ret;
|
||||
|
||||
init_subchannel_id(&schid);
|
||||
ret = -ENODEV;
|
||||
do {
|
||||
do {
|
||||
ret = fn(schid, data);
|
||||
|
|
|
|||
Loading…
Reference in a new issue