[dpdk-dev] [PATCH] librte_power: channel_commands: Remove duplicate definition

Aaron Conole aconole at redhat.com
Fri Oct 23 22:03:57 CEST 2015


The CHANNEL_CMDS_MAX_VM_CHANNELS is duplicated in the channel_commands
header file. This commit removes that duplication.

fixes 210c383e247b5335cd95223fac1c0880ebbd5c96 ("power: packet format for ...")

Signed-off-by: Aaron Conole <aconole at redhat.com>
---
 lib/librte_power/channel_commands.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/librte_power/channel_commands.h b/lib/librte_power/channel_commands.h
index 7e78a8b..de6d926 100644
--- a/lib/librte_power/channel_commands.h
+++ b/lib/librte_power/channel_commands.h
@@ -50,9 +50,6 @@ extern "C" {
 /* Maximum number of channels per VM */
 #define CHANNEL_CMDS_MAX_VM_CHANNELS 64
 
-/* Maximum number of channels per VM */
-#define CHANNEL_CMDS_MAX_VM_CHANNELS 64
-
 /* Valid Commands */
 #define CPU_POWER               1
 #define CPU_POWER_CONNECT       2
-- 
2.6.1.133.gf5b6079



More information about the dev mailing list