From 74dcf08830d0fd23fb50a2b03a2c7bab45c9250a Mon Sep 17 00:00:00 2001 From: Adham Masarwah Date: Sun, 27 Mar 2016 17:02:14 +0300 Subject: [PATCH] Fixed unused ctx in MTCR when defined NO_INBAND Signed-off-by: Adham Masarwah --- mtcr_ul/mtcr_ul_com.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mtcr_ul/mtcr_ul_com.c b/mtcr_ul/mtcr_ul_com.c index d634350..64089d2 100644 --- a/mtcr_ul/mtcr_ul_com.c +++ b/mtcr_ul/mtcr_ul_com.c @@ -1029,8 +1029,8 @@ int mtcr_pciconf_open(mfile *mf, const char *name) static int mtcr_inband_open(mfile* mf, const char* name) { - ul_ctx_t *ctx = mf->ul_ctx; #ifndef NO_INBAND + ul_ctx_t *ctx = mf->ul_ctx; mf->tp = MST_IB; ctx->mread4 = mib_read4; ctx->mwrite4 = mib_write4; -- 2.46.0