diff options
author | John Crispin <john@openwrt.org> | 2016-02-25 10:14:05 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2016-02-25 10:14:05 +0000 |
commit | 0834f9f07631a8857a96614e37cb21e1dc84ffb4 (patch) | |
tree | c62e777de69d8397ed7870991bc46d5648a20046 /target/linux/brcm2708/patches-4.1/0172-bcm2708_fb-remove-unnecessary-initialization-of-resu.patch | |
parent | b3dc9566a46efa67951ff6ae28e4397da9db92af (diff) | |
download | upstream-0834f9f07631a8857a96614e37cb21e1dc84ffb4.tar.gz upstream-0834f9f07631a8857a96614e37cb21e1dc84ffb4.tar.bz2 upstream-0834f9f07631a8857a96614e37cb21e1dc84ffb4.zip |
brcm2708: remove linux 4.1 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 48766
Diffstat (limited to 'target/linux/brcm2708/patches-4.1/0172-bcm2708_fb-remove-unnecessary-initialization-of-resu.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.1/0172-bcm2708_fb-remove-unnecessary-initialization-of-resu.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/target/linux/brcm2708/patches-4.1/0172-bcm2708_fb-remove-unnecessary-initialization-of-resu.patch b/target/linux/brcm2708/patches-4.1/0172-bcm2708_fb-remove-unnecessary-initialization-of-resu.patch deleted file mode 100644 index 6c1493ee58..0000000000 --- a/target/linux/brcm2708/patches-4.1/0172-bcm2708_fb-remove-unnecessary-initialization-of-resu.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 324a12ebfd6509fd4466500bd2c5a650133ca1ff Mon Sep 17 00:00:00 2001 -From: Colin Ian King <colin.king@canonical.com> -Date: Wed, 2 Sep 2015 07:15:38 -0400 -Subject: [PATCH 172/222] bcm2708_fb: remove unnecessary initialization of - result - -static analysis by cppcheck detected an unnecessary initialization -of variable 'result' which is re-assigned almost immediately after -the initialization. Remove the redundant initialization. - -[drivers/video/fbdev/bcm2708_fb.c:406]: (performance) Variable - 'result' is reassigned a value before the old one has been used. - -Signed-off-by: Colin Ian King <colin.king@canonical.com> ---- - drivers/video/fbdev/bcm2708_fb.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/drivers/video/fbdev/bcm2708_fb.c -+++ b/drivers/video/fbdev/bcm2708_fb.c -@@ -420,7 +420,7 @@ static int bcm2708_fb_blank(int blank_mo - - static int bcm2708_fb_pan_display(struct fb_var_screeninfo *var, struct fb_info *info) - { -- s32 result = -1; -+ s32 result; - info->var.xoffset = var->xoffset; - info->var.yoffset = var->yoffset; - result = bcm2708_fb_set_par(info); |