diff options
author | Krzysztof Kozlowski | 2021-05-31 09:38:58 +0200 |
---|---|---|
committer | Jakub Kicinski | 2021-05-31 21:32:37 -0700 |
commit | feab6ba21da73a86ed406fe2c7d075147f73eb44 (patch) | |
tree | 5ebf2181d794c4dbd0baf12cdd7b6abda0360ed8 /drivers/nfc/pn533 | |
parent | 62f64417afd6babfa3a45800c11b5a8fce447c71 (diff) |
nfc: pn533: drop unneeded braces {} in if
{} braces are not needed over single if-statement.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210531073902.7111-3-krzysztof.kozlowski@canonical.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/nfc/pn533')
-rw-r--r-- | drivers/nfc/pn533/i2c.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/nfc/pn533/i2c.c b/drivers/nfc/pn533/i2c.c index bb04fddb0504..e6bf8cfe3aa7 100644 --- a/drivers/nfc/pn533/i2c.c +++ b/drivers/nfc/pn533/i2c.c @@ -192,9 +192,8 @@ static int pn533_i2c_probe(struct i2c_client *client, phy, &i2c_phy_ops, NULL, &phy->i2c_dev->dev); - if (IS_ERR(priv)) { + if (IS_ERR(priv)) return PTR_ERR(priv); - } phy->priv = priv; r = pn532_i2c_nfc_alloc(priv, PN533_NO_TYPE_B_PROTOCOLS, &client->dev); |