index,
data,
size,
- HZ);
+ 1000);
if (status < 0)
return status;
if (status != size) {
index,
data,
size,
- HZ);
-
+ 1000);
if (status < 0)
return status;
if (status != size) {
buffer,
length,
num_sent,
- HZ);
+ 1000);
return status;
}
void edge_buf_free(struct edge_buf *eb)
{
- if (eb != NULL) {
- if (eb->buf_buf != NULL)
- kfree(eb->buf_buf);
+ if (eb) {
+ kfree(eb->buf_buf);
kfree(eb);
}
}