mirror of https://gitee.com/openkylin/linux.git
misc: st_core: remove unreachable code
The pr_debug() will never be executed. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9d403a998d
commit
c7f340f844
|
@ -632,7 +632,6 @@ long st_register(struct st_proto_s *new_proto)
|
||||||
spin_unlock_irqrestore(&st_gdata->lock, flags);
|
spin_unlock_irqrestore(&st_gdata->lock, flags);
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
pr_debug("done %s(%d) ", __func__, new_proto->chnl_id);
|
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(st_register);
|
EXPORT_SYMBOL_GPL(st_register);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue