Skip to content

Commit

Permalink
libhns: Remove unused macros
Browse files Browse the repository at this point in the history
[ Upstream commit 054392a ]

These macros used to work, but are no longer used, they should be removed.

Fixes: 516b8d4 ("providers: Use the new match_device and allocate_device ops")
Fixes: 887b78c ("libhns: Add initial main frame")
Signed-off-by: Lang Cheng <chenglang@huawei.com>
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
  • Loading branch information
larrch authored and nmorey committed Nov 15, 2021
1 parent c92c54a commit a222518
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions providers/hns/hns_roce_u.c
Expand Up @@ -41,9 +41,6 @@
#include "hns_roce_u.h"
#include "hns_roce_u_abi.h"

#define HID_LEN 15
#define DEV_MATCH_LEN 128

#ifndef PCI_VENDOR_ID_HUAWEI
#define PCI_VENDOR_ID_HUAWEI 0x19E5
#endif
Expand Down

0 comments on commit a222518

Please sign in to comment.