Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
+0 −1
Original line number Diff line number Diff line
@@ -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;