From e3a928f7f2c1a1a4838bc782e8f1e0b2600a322a Mon Sep 17 00:00:00 2001 From: "Justin T. Gibbs" Date: Thu, 23 Feb 2012 10:01:26 +0000 Subject: [PATCH] blkif.h: Miscelaneous style fixes o Remove trailing whitespace. o Remove a blank line so that a comment block is adjacent to the code it documents. No functional changes. Signed-off-by: Justin T. Gibbs Committed-by: Keir Fraser --- xen/include/public/io/blkif.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/xen/include/public/io/blkif.h b/xen/include/public/io/blkif.h index 89b6f1d49..20d585a86 100644 --- a/xen/include/public/io/blkif.h +++ b/xen/include/public/io/blkif.h @@ -1,8 +1,8 @@ /****************************************************************************** * blkif.h - * + * * Unified block-device I/O interface for Xen guest OSes. - * + * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the @@ -35,7 +35,7 @@ * notification can be made conditional on req_event (i.e., the generic * hold-off mechanism provided by the ring macros). Backends must set * req_event appropriately (e.g., using RING_FINAL_CHECK_FOR_REQUESTS()). - * + * * Back->front notifications: When enqueuing a new response, sending a * notification can be made conditional on rsp_event (i.e., the generic * hold-off mechanism provided by the ring macros). Frontends must set @@ -133,7 +133,7 @@ */ #define BLKIF_MAX_SEGMENTS_PER_REQUEST 11 -/* +/* * NB. first_sect and last_sect in blkif_request_segment, as well as * sector_number in blkif_request, are always expressed in 512-byte units. * However they must be properly aligned to the real sector size of the @@ -192,7 +192,6 @@ typedef struct blkif_response blkif_response_t; /* * Generate blkif ring structures and types. */ - DEFINE_RING_TYPES(blkif, struct blkif_request, struct blkif_response); #define VDISK_CDROM 0x1 -- 2.39.5