Commit 971ca471 authored by Santosh Nayak's avatar Santosh Nayak Committed by Dave Airlie

agp: Remove 'break' after 'return' statement.

'break' is unnecessary after 'return' statement.
Remove all such 'break' as clean up.
Signed-off-by: default avatarSantosh Nayak <santoshprasadnayak@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent effbc4fd
...@@ -1010,7 +1010,6 @@ int agp_generic_free_gatt_table(struct agp_bridge_data *bridge) ...@@ -1010,7 +1010,6 @@ int agp_generic_free_gatt_table(struct agp_bridge_data *bridge)
case LVL2_APER_SIZE: case LVL2_APER_SIZE:
/* The generic routines can't deal with 2 level gatt's */ /* The generic routines can't deal with 2 level gatt's */
return -EINVAL; return -EINVAL;
break;
default: default:
page_order = 0; page_order = 0;
break; break;
...@@ -1077,7 +1076,6 @@ int agp_generic_insert_memory(struct agp_memory * mem, off_t pg_start, int type) ...@@ -1077,7 +1076,6 @@ int agp_generic_insert_memory(struct agp_memory * mem, off_t pg_start, int type)
case LVL2_APER_SIZE: case LVL2_APER_SIZE:
/* The generic routines can't deal with 2 level gatt's */ /* The generic routines can't deal with 2 level gatt's */
return -EINVAL; return -EINVAL;
break;
default: default:
num_entries = 0; num_entries = 0;
break; break;
......
...@@ -158,7 +158,6 @@ static int sgi_tioca_insert_memory(struct agp_memory *mem, off_t pg_start, ...@@ -158,7 +158,6 @@ static int sgi_tioca_insert_memory(struct agp_memory *mem, off_t pg_start,
break; break;
case LVL2_APER_SIZE: case LVL2_APER_SIZE:
return -EINVAL; return -EINVAL;
break;
default: default:
num_entries = 0; num_entries = 0;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment