Eliminate references to k_memset() and k_memcpy()
Since the kernel now provides a minimal string library, there is no longer any reason not to use the standard memset() and memcpy() APIs. Change-Id: Iad587ace6f41fd94c9c961d13d9322495a7da1be Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
This commit is contained in:
parent
63720a9af3
commit
140d314336
10 changed files with 22 additions and 18 deletions
|
@ -399,7 +399,7 @@ void pci_header_get(uint32_t controller,
|
|||
|
||||
/* clear out the header */
|
||||
|
||||
k_memset((char *)pci_dev_header, sizeof(union pci_dev), 0);
|
||||
memset((char *)pci_dev_header, sizeof(union pci_dev), 0);
|
||||
|
||||
/* fill in the PCI header from the device */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue