projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d75758b
)
gma500: remove unneeded check in mdfld_crtc_mode_set()
author
Dan Carpenter
<error27@gmail.com>
Fri, 8 Jul 2011 08:45:49 +0000
(09:45 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 8 Jul 2011 20:45:00 +0000
(13:45 -0700)
The list cursor is never NULL in a list_for_each_entry() loop.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/gma500/mdfld_intel_display.c
patch
|
blob
|
history
diff --git
a/drivers/staging/gma500/mdfld_intel_display.c
b/drivers/staging/gma500/mdfld_intel_display.c
index 1447a5bc48bf2ebfcccdfbb544bdcbd23f05c360..fa84990828131d103659c2454ad0d455d7f6ade4 100644
(file)
--- a/
drivers/staging/gma500/mdfld_intel_display.c
+++ b/
drivers/staging/gma500/mdfld_intel_display.c
@@
-1093,8
+1093,6
@@
static int mdfld_crtc_mode_set(struct drm_crtc *crtc,
memcpy(&psb_intel_crtc->saved_adjusted_mode, adjusted_mode, sizeof(struct drm_display_mode));
list_for_each_entry(connector, &mode_config->connector_list, head) {
- if(!connector)
- continue;
encoder = connector->encoder;