Skip to contentSkip to conversation

staging: fbtft: remove unused ssbuf member

PATCH In review amit 2 participants 2 messages Nov 1 – Nov 3

Subsystems (3)
lore
Share & tools
lore

amit

author
#0 lore raw

PATCH 1/1 staging: fbtft: remove unused ssbuf member

The ssbuf member is documented as unused and has no users in the FBTFT driver. Remove the unused member and its kerneldoc entry.

Assisted-by LLM
---
 drivers/staging/fbtft/fbtft.h | 2 --
 1 file changed, 2 deletions(-)
drivers/staging/fbtft/fbtft.h +0 -2
index 40a7567df..3b58bb9d7 100644
@@ -155,7 +155,6 @@ struct fbtft_platform_data {
  * @pdev: Set if it is a platform device
  * @info: Pointer to framebuffer fb_info structure
  * @pdata: Pointer to platform data
- * @ssbuf: Not used
  * @pseudo_palette: Used by fb_set_colreg()
  * @txbuf.buf: Transmit buffer
  * @txbuf.len: Transmit buffer length
@@ -192,7 +191,6 @@ struct fbtft_par {
 	struct platform_device *pdev;
 	struct fb_info *info;
 	struct fbtft_platform_data *pdata;
-	u16 *ssbuf;
 	u32 pseudo_palette[16];
 	struct {
 		void *buf;
Signature · 1 line
2.54.0
#1 lore raw
Quoted 6 lines · amit

The ssbuf member is documented as unused and has no users in the FBTFT driver. Remove the unused member and its kerneldoc entry.

Assisted-by LLM

Drop this tag (it's outdated now), instead use comment block, after '---' line to describe how you used AI.

Quoted 2 lines

---

...

The problem is that Greg KH won't accept AI work against drivers/staging/.

Signature · 2 lines
With Best Regards,
Andy Shevchenko