diff options
author | Santosh Nayak <santoshprasadnayak@gmail.com> | 2012-04-05 02:01:08 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-04-12 12:56:17 -0400 |
commit | 971ca4717830c03a50e1ad9993c85601a0496de7 (patch) | |
tree | 92eca136e7624d96772029c648800516ad0c548b | |
parent | effbc4fd8e37e41d6f2bb6bcc611c14b4fbdcf9b (diff) |
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>
-rw-r--r-- | drivers/char/agp/generic.c | 2 | ||||
-rw-r--r-- | drivers/char/agp/sgi-agp.c | 1 |
2 files changed, 0 insertions, 3 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) | |||
1010 | case LVL2_APER_SIZE: | 1010 | case LVL2_APER_SIZE: |
1011 | /* The generic routines can't deal with 2 level gatt's */ | 1011 | /* The generic routines can't deal with 2 level gatt's */ |
1012 | return -EINVAL; | 1012 | return -EINVAL; |
1013 | break; | ||
1014 | default: | 1013 | default: |
1015 | page_order = 0; | 1014 | page_order = 0; |
1016 | break; | 1015 | break; |
@@ -1077,7 +1076,6 @@ int agp_generic_insert_memory(struct agp_memory * mem, off_t pg_start, int type) | |||
1077 | case LVL2_APER_SIZE: | 1076 | case LVL2_APER_SIZE: |
1078 | /* The generic routines can't deal with 2 level gatt's */ | 1077 | /* The generic routines can't deal with 2 level gatt's */ |
1079 | return -EINVAL; | 1078 | return -EINVAL; |
1080 | break; | ||
1081 | default: | 1079 | default: |
1082 | num_entries = 0; | 1080 | num_entries = 0; |
1083 | break; | 1081 | break; |
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, | |||
158 | break; | 158 | break; |
159 | case LVL2_APER_SIZE: | 159 | case LVL2_APER_SIZE: |
160 | return -EINVAL; | 160 | return -EINVAL; |
161 | break; | ||
162 | default: | 161 | default: |
163 | num_entries = 0; | 162 | num_entries = 0; |
164 | break; | 163 | break; |