[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240729130213.48941-1-griffin@kroah.com>
Date: Mon, 29 Jul 2024 15:02:12 +0200
From: Griffin Kroah-Hartman <griffin@...ah.com>
To: gregkh@...uxfoundation.org
Cc: linux-kernel@...r.kernel.org,
linux-staging@...ts.linux.dev,
Griffin Kroah-Hartman <griffin@...ah.com>
Subject: [PATCH 1/2] staging: vme_user: vme_tsi148.C: remove redundant newlines
Adhere to Linux kernel coding style.
Reported by checkpatch:
CHECK: Alignment should match open parenthesis
Signed-off-by: Griffin Kroah-Hartman <griffin@...ah.com>
---
drivers/staging/vme_user/vme_tsi148.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/vme_user/vme_tsi148.c b/drivers/staging/vme_user/vme_tsi148.c
index 9066c53150ec..9b1e9fd9ff20 100644
--- a/drivers/staging/vme_user/vme_tsi148.c
+++ b/drivers/staging/vme_user/vme_tsi148.c
@@ -2505,8 +2505,7 @@ static int tsi148_probe(struct pci_dev *pdev, const struct pci_device_id *id)
err_master:
/* resources are stored in link list */
list_for_each_safe(pos, n, &tsi148_bridge->master_resources) {
- master_image = list_entry(pos, struct vme_master_resource,
- list);
+ master_image = list_entry(pos, struct vme_master_resource, list);
list_del(pos);
kfree(master_image);
}
@@ -2603,8 +2602,7 @@ static void tsi148_remove(struct pci_dev *pdev)
/* resources are stored in link list */
list_for_each_safe(pos, tmplist, &tsi148_bridge->master_resources) {
- master_image = list_entry(pos, struct vme_master_resource,
- list);
+ master_image = list_entry(pos, struct vme_master_resource, list);
list_del(pos);
kfree(master_image);
}
--
2.45.2
Powered by blists - more mailing lists