Skip to content

Commit

Permalink
ps3av: remove unused ps3av_set_mode()
Browse files Browse the repository at this point in the history
remove unused ps3av_set_mode()

Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Antonino Daplas <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed Oct 16, 2007
1 parent 57f70c6 commit 466c449
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
21 changes: 0 additions & 21 deletions drivers/ps3/ps3av.c
Original file line number Diff line number Diff line change
Expand Up @@ -903,27 +903,6 @@ int ps3av_get_auto_mode(int boot)

EXPORT_SYMBOL_GPL(ps3av_get_auto_mode);

int ps3av_set_mode(u32 id, int boot)
{
int res;

res = ps3av_set_video_mode(id, boot);
if (res)
return res;

res = ps3av_set_audio_mode(PS3AV_CMD_AUDIO_NUM_OF_CH_2,
PS3AV_CMD_AUDIO_FS_48K,
PS3AV_CMD_AUDIO_WORD_BITS_16,
PS3AV_CMD_AUDIO_FORMAT_PCM,
PS3AV_CMD_AUDIO_SOURCE_SERIAL);
if (res)
return res;

return 0;
}

EXPORT_SYMBOL_GPL(ps3av_set_mode);

int ps3av_get_mode(void)
{
return ps3av ? ps3av->ps3av_mode : 0;
Expand Down
1 change: 0 additions & 1 deletion include/asm-powerpc/ps3av.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,6 @@ extern int ps3av_cmd_video_get_monitor_info(struct ps3av_pkt_av_get_monitor_info
extern int ps3av_set_video_mode(u32, int);
extern int ps3av_set_audio_mode(u32, u32, u32, u32, u32);
extern int ps3av_get_auto_mode(int);
extern int ps3av_set_mode(u32, int);
extern int ps3av_get_mode(void);
extern int ps3av_get_scanmode(int);
extern int ps3av_get_refresh_rate(int);
Expand Down

0 comments on commit 466c449

Please sign in to comment.