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>
This commit is contained in:
parent
effbc4fd8e
commit
971ca47178
|
@ -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)
|
||||||
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,
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue