Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1501721 > unrolled thread

[PATCH 3.12 28/84] powerpc/ps3: Remove unused os_area_db_id_video_mode

Started byJiri Slaby <jslaby@suse.cz>
First post2016-10-17 10:20 +0200
Last post2016-10-17 10:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 3.12 28/84] powerpc/ps3: Remove unused os_area_db_id_video_mode Jiri Slaby <jslaby@suse.cz> - 2016-10-17 10:20 +0200

#1501721 — [PATCH 3.12 28/84] powerpc/ps3: Remove unused os_area_db_id_video_mode

FromJiri Slaby <jslaby@suse.cz>
Date2016-10-17 10:20 +0200
Subject[PATCH 3.12 28/84] powerpc/ps3: Remove unused os_area_db_id_video_mode
Message-ID<stbjk-YS-13@gated-at.bofh.it>
From: Michael Ellerman <mpe@ellerman.id.au>

3.12-stable review patch.  If anyone has any objections, please let me know.

===============

commit 4fa9a3f6b616fd9f2555d9d0c04513a942750986 upstream.

This struct is unused, which is now a build error with gcc 6:

  error: 'os_area_db_id_video_mode' defined but not used

There doesn't seem to be any good reason to keep it around so remove it,
it's in the history if anyone needs it.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
 arch/powerpc/platforms/ps3/os-area.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/powerpc/platforms/ps3/os-area.c b/arch/powerpc/platforms/ps3/os-area.c
index 09787139834d..3db53e8aff92 100644
--- a/arch/powerpc/platforms/ps3/os-area.c
+++ b/arch/powerpc/platforms/ps3/os-area.c
@@ -194,11 +194,6 @@ static const struct os_area_db_id os_area_db_id_rtc_diff = {
 	.key = OS_AREA_DB_KEY_RTC_DIFF
 };
 
-static const struct os_area_db_id os_area_db_id_video_mode = {
-	.owner = OS_AREA_DB_OWNER_LINUX,
-	.key = OS_AREA_DB_KEY_VIDEO_MODE
-};
-
 #define SECONDS_FROM_1970_TO_2000 946684800LL
 
 /**
-- 
2.10.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web