mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
cam/xpt: style(9) no longer recommends blank lines
The new xpt_gdev_type() function shouldn't have had a blank line. It was copied from xpt_path_inq(). Remove it from both. Noticed by: jhb Sponsored by: Netflix
This commit is contained in:
parent
22ae840b9f
commit
74b5dc9f3f
1 changed files with 0 additions and 2 deletions
|
|
@ -151,7 +151,6 @@ void xpt_sim_poll(struct cam_sim *sim);
|
|||
static inline void
|
||||
xpt_path_inq(struct ccb_pathinq *cpi, struct cam_path *path)
|
||||
{
|
||||
|
||||
bzero(cpi, sizeof(*cpi));
|
||||
xpt_setup_ccb(&cpi->ccb_h, path, CAM_PRIORITY_NONE);
|
||||
cpi->ccb_h.func_code = XPT_PATH_INQ;
|
||||
|
|
@ -165,7 +164,6 @@ xpt_path_inq(struct ccb_pathinq *cpi, struct cam_path *path)
|
|||
static inline void
|
||||
xpt_gdev_type(struct ccb_getdev *cgd, struct cam_path *path)
|
||||
{
|
||||
|
||||
bzero(cgd, sizeof(*cgd));
|
||||
xpt_setup_ccb(&cgd->ccb_h, path, CAM_PRIORITY_NONE);
|
||||
cgd->ccb_h.func_code = XPT_GDEV_TYPE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue