mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00: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 <pmorel@linux.vnet.ibm.com> Reviewed-By: Sascha Silbe <silbe@linux.vnet.ibm.com> Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
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