summaryrefslogtreecommitdiffstats
path: root/drivers/char/agp/generic.c
diff options
context:
space:
mode:
authorSantosh Nayak <santoshprasadnayak@gmail.com>2012-04-05 11:31:08 +0530
committerDave Airlie <airlied@redhat.com>2012-04-12 17:56:17 +0100
commit971ca4717830c03a50e1ad9993c85601a0496de7 (patch)
tree92eca136e7624d96772029c648800516ad0c548b /drivers/char/agp/generic.c
parenteffbc4fd8e37e41d6f2bb6bcc611c14b4fbdcf9b (diff)
downloadtalos-op-linux-971ca4717830c03a50e1ad9993c85601a0496de7.tar.gz
talos-op-linux-971ca4717830c03a50e1ad9993c85601a0496de7.zip
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/generic.c')
-rw-r--r--drivers/char/agp/generic.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/agp/generic.c b/drivers/char/agp/generic.c
index 17e05d1076b3..38022ea7eeb4 100644
--- a/drivers/char/agp/generic.c
+++ b/drivers/char/agp/generic.c
@@ -1010,7 +1010,6 @@ int agp_generic_free_gatt_table(struct agp_bridge_data *bridge)
case LVL2_APER_SIZE:
/* The generic routines can't deal with 2 level gatt's */
return -EINVAL;
- break;
default:
page_order = 0;
break;
@@ -1077,7 +1076,6 @@ int agp_generic_insert_memory(struct agp_memory * mem, off_t pg_start, int type)
case LVL2_APER_SIZE:
/* The generic routines can't deal with 2 level gatt's */
return -EINVAL;
- break;
default:
num_entries = 0;
break;
OpenPOWER on IntegriCloud