s390/qdio: remove unused function
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Fri, 17 May 2013 14:39:51 +0000 (16:39 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 26 Jun 2013 19:10:00 +0000 (21:10 +0200)
Remove the unused function qdio_trace_aob.

Acked-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/qdio_main.c

index 843051bc20f19ab438c568b0cac9a35233db1789..fb1c1e0483ed30213343620da6542ba5ca6b43bb 100644 (file)
@@ -608,50 +608,6 @@ static inline int contains_aobs(struct qdio_q *q)
        return !q->is_input_q && q->u.out.use_cq;
 }
 
-static inline void qdio_trace_aob(struct qdio_irq *irq, struct qdio_q *q,
-                               int i, struct qaob *aob)
-{
-       int tmp;
-
-       DBF_DEV_EVENT(DBF_INFO, irq, "AOB%d:%lx", i,
-                       (unsigned long) virt_to_phys(aob));
-       DBF_DEV_EVENT(DBF_INFO, irq, "RES00:%lx",
-                       (unsigned long) aob->res0[0]);
-       DBF_DEV_EVENT(DBF_INFO, irq, "RES01:%lx",
-                       (unsigned long) aob->res0[1]);
-       DBF_DEV_EVENT(DBF_INFO, irq, "RES02:%lx",
-                       (unsigned long) aob->res0[2]);
-       DBF_DEV_EVENT(DBF_INFO, irq, "RES03:%lx",
-                       (unsigned long) aob->res0[3]);
-       DBF_DEV_EVENT(DBF_INFO, irq, "RES04:%lx",
-                       (unsigned long) aob->res0[4]);
-       DBF_DEV_EVENT(DBF_INFO, irq, "RES05:%lx",
-                       (unsigned long) aob->res0[5]);
-       DBF_DEV_EVENT(DBF_INFO, irq, "RES1:%x", aob->res1);
-       DBF_DEV_EVENT(DBF_INFO, irq, "RES2:%x", aob->res2);
-       DBF_DEV_EVENT(DBF_INFO, irq, "RES3:%x", aob->res3);
-       DBF_DEV_EVENT(DBF_INFO, irq, "AORC:%u", aob->aorc);
-       DBF_DEV_EVENT(DBF_INFO, irq, "FLAGS:%u", aob->flags);
-       DBF_DEV_EVENT(DBF_INFO, irq, "CBTBS:%u", aob->cbtbs);
-       DBF_DEV_EVENT(DBF_INFO, irq, "SBC:%u", aob->sb_count);
-       for (tmp = 0; tmp < QDIO_MAX_ELEMENTS_PER_BUFFER; ++tmp) {
-               DBF_DEV_EVENT(DBF_INFO, irq, "SBA%d:%lx", tmp,
-                               (unsigned long) aob->sba[tmp]);
-               DBF_DEV_EVENT(DBF_INFO, irq, "rSBA%d:%lx", tmp,
-                               (unsigned long) q->sbal[i]->element[tmp].addr);
-               DBF_DEV_EVENT(DBF_INFO, irq, "DC%d:%u", tmp, aob->dcount[tmp]);
-               DBF_DEV_EVENT(DBF_INFO, irq, "rDC%d:%u", tmp,
-                               q->sbal[i]->element[tmp].length);
-       }
-       DBF_DEV_EVENT(DBF_INFO, irq, "USER0:%lx", (unsigned long) aob->user0);
-       for (tmp = 0; tmp < 2; ++tmp) {
-               DBF_DEV_EVENT(DBF_INFO, irq, "RES4%d:%lx", tmp,
-                       (unsigned long) aob->res4[tmp]);
-       }
-       DBF_DEV_EVENT(DBF_INFO, irq, "USER1:%lx", (unsigned long) aob->user1);
-       DBF_DEV_EVENT(DBF_INFO, irq, "USER2:%lx", (unsigned long) aob->user2);
-}
-
 static inline void qdio_handle_aobs(struct qdio_q *q, int start, int count)
 {
        unsigned char state = 0;