Merge branch 'drm-next-4.6' of git://people.freedesktop.org/~agd5f/linux into drm...
[linux-2.6-block.git] / drivers / base / component.c
index 04a1582e80bb83d00fa80c3fb95d325bb165b261..89b032f2ffd222ed65ec771634fe1e694b916bbb 100644 (file)
@@ -267,7 +267,7 @@ void component_match_add_release(struct device *master,
        }
 
        if (match->num == match->alloc) {
-               size_t new_size = match ? match->alloc + 16 : 15;
+               size_t new_size = match->alloc + 16;
                int ret;
 
                ret = component_match_realloc(master, match, new_size);