treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / net / ethernet / broadcom / bnxt / bnxt_debugfs.h
blobd0bb4887acd084226de9216ce72e21b670232e55
1 /* Broadcom NetXtreme-C/E network driver.
3 * Copyright (c) 2017-2018 Broadcom Limited
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation.
8 */
10 #include "bnxt_hsi.h"
11 #include "bnxt.h"
13 #ifdef CONFIG_DEBUG_FS
14 void bnxt_debug_init(void);
15 void bnxt_debug_exit(void);
16 void bnxt_debug_dev_init(struct bnxt *bp);
17 void bnxt_debug_dev_exit(struct bnxt *bp);
18 #else
19 static inline void bnxt_debug_init(void) {}
20 static inline void bnxt_debug_exit(void) {}
21 static inline void bnxt_debug_dev_init(struct bnxt *bp) {}
22 static inline void bnxt_debug_dev_exit(struct bnxt *bp) {}
23 #endif