* [PATCH] powerpc/ps3: Remove unused os_area_db_id_video_mode
@ 2015-09-25 2:14 Michael Ellerman
2015-10-02 22:53 ` Geoff Levand
0 siblings, 1 reply; 2+ messages in thread
From: Michael Ellerman @ 2015-09-25 2:14 UTC (permalink / raw)
To: linuxppc-dev; +Cc: geoff
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>
---
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.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] powerpc/ps3: Remove unused os_area_db_id_video_mode
2015-09-25 2:14 [PATCH] powerpc/ps3: Remove unused os_area_db_id_video_mode Michael Ellerman
@ 2015-10-02 22:53 ` Geoff Levand
0 siblings, 0 replies; 2+ messages in thread
From: Geoff Levand @ 2015-10-02 22:53 UTC (permalink / raw)
To: Michael Ellerman; +Cc: linuxppc-dev
On Fri, 2015-09-25 at 12:14 +1000, Michael Ellerman wrote:
> 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.
Looks OK.
Acked-by: Geoff Levand <geoff@infradead.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-02 22:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-25 2:14 [PATCH] powerpc/ps3: Remove unused os_area_db_id_video_mode Michael Ellerman
2015-10-02 22:53 ` Geoff Levand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).