]> git.droids-corp.org - dpdk.git/blobdiff - drivers/bus/fslmc/qbman/qbman_sys.h
bus/fslmc: replace word copy with memcpy in QBMAN
[dpdk.git] / drivers / bus / fslmc / qbman / qbman_sys.h
index 5dbcaa574418d154d35b146dd0ac77dd45c85b1e..9ea55de77e6258dcf8f322a19e23fd51746d9c18 100644 (file)
 #undef QBMAN_CINH_TRACE
 #undef QBMAN_CENA_TRACE
 
-static inline void word_copy(void *d, const void *s, unsigned int cnt)
-{
-       uint32_t *dd = d;
-       const uint32_t *ss = s;
-
-       while (cnt--)
-               *(dd++) = *(ss++);
-}
-
 /* Currently, the CENA support code expects each 32-bit word to be written in
  * host order, and these are converted to hardware (little-endian) order on
  * command submission. However, 64-bit quantities are must be written (and read)