staging: fbtft: remove unused fbtft_init_dbg()
Subsystems (3)
PATCH v4 1/1 staging: fbtft: remove unused fbtft_init_dbg()
From: Himanshu Bakshi <[email protected]>
The fbtft_init_dbg() macro is not being used, so delete it.
---
Changes in v4:
- Add Reviewed-by from Andy Shevchenko.
Changes in v3:
- Fix tag formatting as requested by Andy Shevchenko.
- Add revision history and testing details following review feedback.
Testing:
- Built the fbtft driver successfully.
- Verified that fbtft_init_dbg() has no call sites in the kernel tree.
--- drivers/staging/fbtft/fbtft.h | 7 ------- 1 file changed, 7 deletions(-)
drivers/staging/fbtft/fbtft.h +0 -7
@@ -420,13 +420,6 @@ module_spi_driver(fbtft_driver_spi_driver);#define DEBUG_REQUEST_GPIOS_MATCH BIT(30)#define DEBUG_VERIFY_GPIOS BIT(31) -#define fbtft_init_dbg(dev, format, arg...) \ -do { \ - if (unlikely((dev)->platform_data && \ - (((struct fbtft_platform_data *)(dev)->platform_data)->display.debug & DEBUG_DRIVER_INIT_FUNCTIONS))) \ - dev_info(dev, format, ##arg); \ -} while (0) - #define fbtft_par_dbg(level, par, format, arg...) \ do { \ if (unlikely((par)->debug & (level))) \
Signature · 1 line
2.56.0
Quoted 11 lines · himanshu bakshi
From: Himanshu Bakshi <[email protected]>
The
fbtft_init_dbg()macro is not being used, so delete it.Reviewed-by Andy Shevchenko <[email protected]>Reviewed-by Dan Carpenter <[email protected]>Signed-off-by Himanshu Bakshi <[email protected]>---
Changes in v4:
- Add Reviewed-by from Andy Shevchenko.
Collecting the tags is unnecessary. Maintainers handle it. You should do it if you have to resend for a different reason but otherwise just leave it.
regards,
dan carpenter
Quoted 1 line · himanshu bakshi
- Verified that
fbtft_init_dbg()has no call sites in the kernel tree.
Quoted 3 lines · himanshu bakshi
Reviewed-by Andy Shevchenko <[email protected]>Reviewed-by Dan Carpenter <[email protected]>Signed-off-by Himanshu Bakshi <[email protected]>
Hi Andy and Greg,
Just a gentle ping on this patch, It received Reviewed-by tags from Andy Shevchenko, Dan Carpenter and Hungyu Lin about 18 days ago, and I wanted to check if anything else is needed from my side before it can applied.
Thanks and Regards,
Himanshu Bakshi
Greg KH
maintainerQuoted 6 lines · Himanshu Bakshi
Quoted 3 lines · himanshu bakshi
Reviewed-by Andy Shevchenko <[email protected]>Reviewed-by Dan Carpenter <[email protected]>Signed-off-by Himanshu Bakshi <[email protected]>
Quoted 6 lines
Hi Andy and Greg,
Just a gentle ping on this patch, It received Reviewed-by tags from Andy Shevchenko, Dan Carpenter and Hungyu Lin about 18 days ago, and I wanted to check if anything else is needed from my side before it can applied.
Odd, for some reason this isn't in my queue anymore, thanks for checking. Can you rebase it and resend based on the staging-next branch?
thanks,
greg k-h
Hi Greg,
I've rebased the patch on staging-next and resent it as v5 in a separate discussion.
Thanks and Regards,
Himanshu
Quoted 22 lines · Greg KH
Quoted 6 lines · Himanshu Bakshi
Quoted 3 lines · himanshu bakshi
Reviewed-by Andy Shevchenko <[email protected]>Reviewed-by Dan Carpenter <[email protected]>Signed-off-by Himanshu Bakshi <[email protected]>Quoted 6 lines
Hi Andy and Greg,
Just a gentle ping on this patch, It received Reviewed-by tags from Andy Shevchenko, Dan Carpenter and Hungyu Lin about 18 days ago, and I wanted to check if anything else is needed from my side before it can applied.
Odd, for some reason this isn't in my queue anymore, thanks for checking. Can you rebase it and resend based on the staging-next branch?
thanks,
greg k-h