ioat(4): Minor style cleanups
Suggested by: ngie Reviewed by: jimharris Approved by: markj (mentor) Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D3481
This commit is contained in:
parent
9dfd4b4113
commit
80b01acf73
@ -798,7 +798,7 @@ resize_ring(struct ioat_softc *ioat, int order)
|
|||||||
new_idx = (ioat->tail + i) & (new_size - 1);
|
new_idx = (ioat->tail + i) & (new_size - 1);
|
||||||
|
|
||||||
ring[new_idx] = ioat_alloc_ring_entry(ioat);
|
ring[new_idx] = ioat_alloc_ring_entry(ioat);
|
||||||
if (!ring[new_idx]) {
|
if (ring[new_idx] == NULL) {
|
||||||
while (i--) {
|
while (i--) {
|
||||||
new_idx2 = (ioat->tail + i) &
|
new_idx2 = (ioat->tail + i) &
|
||||||
(new_size - 1);
|
(new_size - 1);
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PROG= ioatcontrol
|
PROG= ioatcontrol
|
||||||
SRCS= ioatcontrol.c
|
|
||||||
MAN= ioatcontrol.8
|
MAN= ioatcontrol.8
|
||||||
CFLAGS+= -I${.CURDIR:H:H:H}/sys/dev/ioat
|
CFLAGS+= -I${.CURDIR:H:H:H}/sys/dev/ioat
|
||||||
WARNS?= 6
|
WARNS?= 6
|
||||||
|
Loading…
x
Reference in New Issue
Block a user