return 0;
 }
 
-/**
- * iavf_debug_d - OS dependent version of debug printing
- * @hw:  pointer to the HW structure
- * @mask: debug level mask
- * @fmt_str: printf-type format description
- **/
-void iavf_debug_d(void *hw, u32 mask, char *fmt_str, ...)
-{
-       char buf[512];
-       va_list argptr;
-
-       if (!(mask & ((struct iavf_hw *)hw)->debug_mask))
-               return;
-
-       va_start(argptr, fmt_str);
-       vsnprintf(buf, sizeof(buf), fmt_str, argptr);
-       va_end(argptr);
-
-       /* the debug string is already formatted with a newline */
-       pr_info("%s", buf);
-}
-
 /**
  * iavf_schedule_reset - Set the flags and schedule a reset event
  * @adapter: board private structure