mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-18 11:54:37 +08:00
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:
|
||||
/* 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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user