]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/xen/gntdev.c
The parameter's origin type is long. On an i386 architecture, it can
[karo-tx-linux.git] / drivers / xen / gntdev.c
index f914b26cf0c2efdfac05b8af9e6d9b8a37124dfc..772a5b8bbf2e8b16a2ca73ce204d3a403261f775 100644 (file)
@@ -188,9 +188,8 @@ static void gntdev_put_map(struct grant_map *map)
 
        atomic_sub(map->count, &pages_mapped);
 
-       if (map->notify.flags & UNMAP_NOTIFY_SEND_EVENT) {
+       if (map->notify.flags & UNMAP_NOTIFY_SEND_EVENT)
                notify_remote_via_evtchn(map->notify.event);
-       }
 
        if (map->pages) {
                if (!use_ptemod)