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:
Warner Losh 2025-07-10 17:03:41 -06:00
parent 22ae840b9f
commit 74b5dc9f3f

View file

@ -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;