]> git.karo-electronics.de Git - mv-sheeva.git/commit
oprofile, ARM: Rework op_create_counter()
authorRobert Richter <robert.richter@amd.com>
Wed, 29 Sep 2010 12:43:29 +0000 (14:43 +0200)
committerRobert Richter <robert.richter@amd.com>
Mon, 4 Oct 2010 08:54:33 +0000 (10:54 +0200)
commitf6be4b428197766521aca664a935c63888d096d9
tree8199590cd58ad6f445864b04480404b98cfc8d57
parent4d1814f48edec31f12737609cd1c871864c8298b
oprofile, ARM: Rework op_create_counter()

This patch simplifies op_create_counter(). Removing if/else if paths
and return code variable by direct returning from function.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/arm/oprofile/common.c