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:
Pierre Morel 2015-10-26 10:45:04 +01:00 • committed by Martin Schwidefsky
commit 8f0ba83178

View file

@ -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);