char: lp: remove redundant initialization of err
authorShreenidhi Shedi <sshedi@vmware.com>
Fri, 3 Jun 2022 13:00:40 +0000 (18:30 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jun 2022 13:29:50 +0000 (15:29 +0200)
commit6497e7776441e0567c02b9c12b133d2ba51918df
tree419469836ca8af112ddbc67d9ca80139953442e7
parentf2906aa863381afb0015a9eb7fefad885d4e5a56
char: lp: remove redundant initialization of err

err is getting assigned with an appropriate value before returning,
hence this initialization is unnecessary.

Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
Link: https://lore.kernel.org/r/20220603130040.601673-2-sshedi@vmware.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/lp.c