diff options
| author | Thomas Zimmermann <[email protected]> | 2023-04-28 12:24:49 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2023-05-08 13:28:34 +0000 |
| commit | 453bd91302f16ddb8a2f5eb3df9fda3206dbacef (patch) | |
| tree | a126d0ad020c09ca5160b0f50479ebd5aa98fb4c /drivers/platform/x86/intel/pmt/class.c | |
| parent | fbdev: Use screen_buffer in fb_sys_{read,write}() (diff) | |
| download | kernel-453bd91302f16ddb8a2f5eb3df9fda3206dbacef.tar.gz kernel-453bd91302f16ddb8a2f5eb3df9fda3206dbacef.zip | |
fbdev: Don't re-validate info->state in fb_ops implementations
The file-op entry points fb_read() and fb_write() verify that
info->state has been set to FBINFO_STATE_RUNNING. Remove the same
test from the implementations of struct fb_ops.{fb_read,fb_write}.
v2:
* also remove test from ivtvfb, braodsheetfb, hecubafb and
metronomefb (Geert)
Signed-off-by: Thomas Zimmermann <[email protected]>
Tested-by: Sui Jingfeng <[email protected]>
Reviewed-by: Javier Martinez Canillas <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Acked-by: Helge Deller <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
