summaryrefslogtreecommitdiff
path: root/drivers/char/agp/sgi-agp.c
diff options
context:
space:
mode:
authorSantosh Nayak <santoshprasadnayak@gmail.com>2012-04-05 10:01:08 +0400
committerDave Airlie <airlied@redhat.com>2012-04-12 20:56:17 +0400
commit971ca4717830c03a50e1ad9993c85601a0496de7 (patch)
tree92eca136e7624d96772029c648800516ad0c548b /drivers/char/agp/sgi-agp.c
parenteffbc4fd8e37e41d6f2bb6bcc611c14b4fbdcf9b (diff)
downloadlinux-971ca4717830c03a50e1ad9993c85601a0496de7.tar.xz
agp: Remove 'break' after 'return' statement.
'break' is unnecessary after 'return' statement. Remove all such 'break' as clean up. Signed-off-by: Santosh Nayak <santoshprasadnayak@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/char/agp/sgi-agp.c')
-rw-r--r--drivers/char/agp/sgi-agp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/agp/sgi-agp.c b/drivers/char/agp/sgi-agp.c
index ffa888cd1c88..192000377737 100644
--- a/drivers/char/agp/sgi-agp.c
+++ b/drivers/char/agp/sgi-agp.c
@@ -158,7 +158,6 @@ static int sgi_tioca_insert_memory(struct agp_memory *mem, off_t pg_start,
break;
case LVL2_APER_SIZE:
return -EINVAL;
- break;
default:
num_entries = 0;
break;