[PATCH 04/10] media: gspca: mars: Drop commented-out code
From: fengchenguang
Date: Wed Sep 30 2026 - 05:02:10 EST
From: Chenguang Feng <fengchenguang@xxxxxxxxxx>
Remove the commented-out 1280-width frame size setting left over from
an old version of the driver. This also silences the checkpatch.pl
warning about misaligned '*' in block comments.
No functional changes.
Signed-off-by: Chenguang Feng <fengchenguang@xxxxxxxxxx>
---
drivers/media/usb/gspca/mars.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/media/usb/gspca/mars.c b/drivers/media/usb/gspca/mars.c
index cc00c45c36e0..f04241cc878a 100644
--- a/drivers/media/usb/gspca/mars.c
+++ b/drivers/media/usb/gspca/mars.c
@@ -281,11 +281,6 @@ static int sd_start(struct gspca_dev *gspca_dev)
reg_w(gspca_dev, 2);
data[0] = 0x3c; /* address */
-/* if (gspca_dev->width == 1280) */
-/* data[1] = 200; * reg 60, pc-cam frame size
- * (unit: 4KB) 800KB
- */
-/* else */
data[1] = 50; /* 50 reg 60, pc-cam frame size
* (unit: 4KB) 200KB
*/
--
2.25.1