diff options
author | Thomas Zimmermann <[email protected]> | 2023-04-28 14:24:49 +0200 |
---|---|---|
committer | Thomas Zimmermann <[email protected]> | 2023-05-08 15:28:34 +0200 |
commit | 453bd91302f16ddb8a2f5eb3df9fda3206dbacef (patch) | |
tree | a126d0ad020c09ca5160b0f50479ebd5aa98fb4c /drivers/fpga/xilinx-spi.c | |
parent | f06875dc4c4f5d8895519857e441d407e88280e4 (diff) |
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/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions