diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2024-03-23 15:03:13 +0100 |
---|---|---|
committer | Elyes Haouas <ehaouas@noos.fr> | 2024-03-30 07:47:54 +0000 |
commit | d586545bf8131558ba00e675f0d2f2e8c44698e3 (patch) | |
tree | 1cb71a44677fb356021e335ae554ffa31fa55fbb /src/superio/smsc | |
parent | 5d57af9a36d8ef1c1a531034f7d7e5cdb182fb77 (diff) |
superio: Remove blank lines before and after code blocks
Change-Id: I0d2ff9828e83ef927036c561d11f95b54b858cda
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81431
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src/superio/smsc')
-rw-r--r-- | src/superio/smsc/lpc47m15x/superio.c | 1 | ||||
-rw-r--r-- | src/superio/smsc/lpc47n227/superio.c | 1 | ||||
-rw-r--r-- | src/superio/smsc/mec1308/superio.c | 1 | ||||
-rw-r--r-- | src/superio/smsc/smscsuperio/superio.c | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/src/superio/smsc/lpc47m15x/superio.c b/src/superio/smsc/lpc47m15x/superio.c index 6f57133c82..8cba7bbe47 100644 --- a/src/superio/smsc/lpc47m15x/superio.c +++ b/src/superio/smsc/lpc47m15x/superio.c @@ -43,7 +43,6 @@ static void enable_dev(struct device *dev) static void lpc47m15x_init(struct device *dev) { - if (!dev->enabled) return; diff --git a/src/superio/smsc/lpc47n227/superio.c b/src/superio/smsc/lpc47n227/superio.c index edcc2717c9..172084ffad 100644 --- a/src/superio/smsc/lpc47n227/superio.c +++ b/src/superio/smsc/lpc47n227/superio.c @@ -106,7 +106,6 @@ void lpc47n227_pnp_enable(struct device *dev) */ static void lpc47n227_init(struct device *dev) { - if (!dev->enabled) return; diff --git a/src/superio/smsc/mec1308/superio.c b/src/superio/smsc/mec1308/superio.c index 39e100ece9..83060cc5fe 100644 --- a/src/superio/smsc/mec1308/superio.c +++ b/src/superio/smsc/mec1308/superio.c @@ -11,7 +11,6 @@ static void mec1308_init(struct device *dev) { - if (!dev->enabled) return; diff --git a/src/superio/smsc/smscsuperio/superio.c b/src/superio/smsc/smscsuperio/superio.c index 3ba8216961..d9aa4777e5 100644 --- a/src/superio/smsc/smscsuperio/superio.c +++ b/src/superio/smsc/smscsuperio/superio.c @@ -216,7 +216,6 @@ static void enable_dev(struct device *dev) u8 test7; if (first_time) { - pnp_enter_conf_mode_55(dev); /* Read the device ID and revision of the Super I/O chip. */ |