[dpdk-dev] librte_power: channel_commands: Remove duplicate definition
Commit Message
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@redhat.com>
---
lib/librte_power/channel_commands.h | 3 ---
1 file changed, 3 deletions(-)
Comments
On Fri, Oct 23, 2015 at 04:03:57PM -0400, Aaron Conole wrote:
> 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@redhat.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
> > 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@redhat.com>
>
> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Applied, thanks
@@ -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