summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-06-17 07:58:39 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2022-06-17 07:58:39 -0700
commitf0ec9c65a8d67e50a16745e62a336355ddf5d03e (patch)
tree35990c2e180629f56bda4ae71bcaf8a67d2a6852 /drivers/char
parent9afc441c3c9c56f80468c097d25eb1a2a14f0c95 (diff)
parent0a35780c755ccec097d15c6b4ff8b246a89f1689 (diff)
downloadlwn-f0ec9c65a8d67e50a16745e62a336355ddf5d03e.tar.gz
lwn-f0ec9c65a8d67e50a16745e62a336355ddf5d03e.zip
Merge tag 'char-misc-5.19-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull char/misc driver fixes from Greg KH: "Here are some small char/misc driver fixes for 5.19-rc3 that resolve some reported issues. They include: - mei driver fixes - comedi driver fix - rtsx build warning fix - fsl-mc-bus driver fix All of these have been in linux-next for a while with no reported issues" * tag 'char-misc-5.19-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: eeprom: at25: Split reads into chunks and cap write size misc: atmel-ssc: Fix IRQ check in ssc_probe char: lp: remove redundant initialization of err
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/lp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/lp.c b/drivers/char/lp.c
index 0e22e3b0a04e..38aad99ebb61 100644
--- a/drivers/char/lp.c
+++ b/drivers/char/lp.c
@@ -1019,7 +1019,7 @@ static struct parport_driver lp_driver = {
static int __init lp_init(void)
{
- int i, err = 0;
+ int i, err;
if (parport_nr[0] == LP_PARPORT_OFF)
return 0;