Patch "fbdev: omapfb: Drop unused remove function" has been added to the 6.6-stable tree
Quoted 28 lines · Sasha Levin
This is a note to let you know that I've just added the patch titled
fbdev: omapfb: Drop unused remove function
to the 6.6-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summaryThe filename of the patch is:
fbdev-omapfb-drop-unused-remove-function.patch
and it can be found in the queue-6.6 subdirectory.If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
commit
a772de6bea2f5a9b5dad8afe0d9145fd8ee62564Author: Uwe Kleine-König <[email protected]> Date: Fri Nov 3 18:35:58 2023 +0100fbdev: omapfb: Drop unused remove function
[ Upstream commit
fc6699d62f5f4facc3e934efd25892fc36050b70]
OMAP2_VRFBis a bool, so the vrfb driver can never be compiled as a module. With that__exit_p(vrfb_remove)always evaluates to NULL andvrfb_remove()is unused.
Quoted 8 lines
If the driver was compilable as a module, it would fail to build because the type of
vrfb_remove()isn't compatible with structplatform_driver::remove(). (The former returns void, the latter int.)Fixes aa1e49a3752f ("OMAPDSS: VRFB: add omap_vrfb_supported()")Signed-off-by Uwe Kleine-König <[email protected]>Signed-off-by Helge Deller <[email protected]>Signed-off-by Sasha Levin <[email protected]>
While it doesn't hurt to backport this patch, I guess it also doesn't give any benefit (apart from increasing my patch count in stable :-).
This commit just removes code that was thrown away by the compiler before. So I'd not backport it.
Best regards
Uwe
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |
Sasha Levin
maintainerQuoted 38 lines · Uwe Kleine-König
Quoted 28 lines · Sasha Levin
This is a note to let you know that I've just added the patch titled
fbdev: omapfb: Drop unused remove function
to the 6.6-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summaryThe filename of the patch is:
fbdev-omapfb-drop-unused-remove-function.patch
and it can be found in the queue-6.6 subdirectory.If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
commit
a772de6bea2f5a9b5dad8afe0d9145fd8ee62564Author: Uwe Kleine-König <[email protected]> Date: Fri Nov 3 18:35:58 2023 +0100fbdev: omapfb: Drop unused remove function
[ Upstream commit
fc6699d62f5f4facc3e934efd25892fc36050b70]
OMAP2_VRFBis a bool, so the vrfb driver can never be compiled as a module. With that__exit_p(vrfb_remove)always evaluates to NULL andvrfb_remove()is unused.Quoted 8 lines
If the driver was compilable as a module, it would fail to build because the type of
vrfb_remove()isn't compatible with structplatform_driver::remove(). (The former returns void, the latter int.)Fixes aa1e49a3752f ("OMAPDSS: VRFB: add omap_vrfb_supported()")Signed-off-by Uwe Kleine-König <[email protected]>Signed-off-by Helge Deller <[email protected]>Signed-off-by Sasha Levin <[email protected]>
Quoted 5 lines
While it doesn't hurt to backport this patch, I guess it also doesn't give any benefit (apart from increasing my patch count in stable :-).
This commit just removes code that was thrown away by the compiler before. So I'd not backport it.
Ack, dropped. Thanks!
Signature · 2 lines
Thanks, Sasha