Silly use-once macros that simply obfuscates the code.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
void _rtw_init_queue23a(struct rtw_queue *pqueue);
-#define NDEV_FMT "%s"
-#define NDEV_ARG(ndev) ndev->name
#define ADPT_FMT "%s"
#define ADPT_ARG(adapter) adapter->pnetdev->name
#define FUNC_NDEV_FMT "%s(%s)"
}
if (pwdev_priv->pmon_ndev) {
- DBG_8723A(FUNC_ADPT_FMT " monitor interface exist: " NDEV_FMT
- "\n", FUNC_ADPT_ARG(padapter),
- NDEV_ARG(pwdev_priv->pmon_ndev));
+ DBG_8723A(FUNC_ADPT_FMT " monitor interface exist: %s\n",
+ FUNC_ADPT_ARG(padapter), pwdev_priv->pmon_ndev->name);
ret = -EBUSY;
goto out;
}