firmware: xilinx: Remove PM_API_MAX value
authorMichal Simek <michal.simek@xilinx.com>
Mon, 18 Jan 2021 08:48:56 +0000 (09:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Jan 2021 18:38:54 +0000 (19:38 +0100)
There is no reason to keep PM_API_MAX around. The commit acfdd18591ea
("firmware: xilinx: Use hash-table for api feature check") removed its
usage that's why it is not used anywhere now.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/86e94593a29a1b5b1958c539a1bfabdd08c0948e.1610959734.git.michal.simek@xilinx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/firmware/xlnx-zynqmp.h

index 2a0da84..0a48324 100644 (file)
@@ -85,7 +85,6 @@ enum pm_api_id {
        PM_CLOCK_GETPARENT,
        PM_SECURE_AES = 47,
        PM_FEATURE_CHECK = 63,
-       PM_API_MAX,
 };
 
 /* PMU-FW return status codes */