Skip to content

Commit

Permalink
[POWERPC] Remove dead code for preventing pread() and pwrite() calls
Browse files Browse the repository at this point in the history
Remove the deactivated code for checking for pread() and pwrite()
calls on the PPC-based BRIQ.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Robert P. J. Day authored and Paul Mackerras committed Jul 10, 2007
1 parent 1f945a8 commit 32efddf
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions drivers/char/briq_panel.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,6 @@ static ssize_t briq_panel_read(struct file *file, char __user *buf, size_t count
unsigned short c;
unsigned char cp;

#if 0 /* Can't seek (pread) on this device */
if (ppos != &file->f_pos)
return -ESPIPE;
#endif

if (!vfd_is_open)
return -ENODEV;

Expand Down Expand Up @@ -139,11 +134,6 @@ static ssize_t briq_panel_write(struct file *file, const char __user *buf, size_
size_t indx = len;
int i, esc = 0;

#if 0 /* Can't seek (pwrite) on this device */
if (ppos != &file->f_pos)
return -ESPIPE;
#endif

if (!vfd_is_open)
return -EBUSY;

Expand Down

0 comments on commit 32efddf

Please sign in to comment.