mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
drbd: Get rid of req_validator_fn typedef
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
This commit is contained in:
parent
e03c8dd149
commit
28c455ceb2
1 changed files with 2 additions and 4 deletions
|
|
@ -4270,11 +4270,9 @@ static struct drbd_request *_ack_id_to_req(struct drbd_conf *mdev,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
typedef struct drbd_request *(req_validator_fn)
|
||||
(struct drbd_conf *mdev, u64 id, sector_t sector);
|
||||
|
||||
static int validate_req_change_req_state(struct drbd_conf *mdev,
|
||||
u64 id, sector_t sector, req_validator_fn validator,
|
||||
u64 id, sector_t sector,
|
||||
struct drbd_request *(*validator)(struct drbd_conf *, u64, sector_t),
|
||||
const char *func, enum drbd_req_event what)
|
||||
{
|
||||
struct drbd_request *req;
|
||||
|
|
|
|||
Loading…
Reference in a new issue