diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2011-09-10 21:29:55 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-09-12 14:52:16 (GMT) |
commit | 7c1387e0ec02f5b44f292b6639a93a2aea949ba0 (patch) | |
tree | fd41fd82bba414351a1919a95a6b6f06873f3576 /drivers/staging/xgifb | |
parent | 15ebe6c657db155fbb04143b1a655b8a58b0402e (diff) | |
download | linux-7c1387e0ec02f5b44f292b6639a93a2aea949ba0.tar.xz |
staging: xgifb: delete redundant casts from mtrr_add() call
Delete redundant casts from mtrr_add() call.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/xgifb')
-rw-r--r-- | drivers/staging/xgifb/XGI_main_26.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c index 1bff7f6..8c5a6e8 100644 --- a/drivers/staging/xgifb/XGI_main_26.c +++ b/drivers/staging/xgifb/XGI_main_26.c @@ -2414,10 +2414,8 @@ static int __devinit xgifb_probe(struct pci_dev *pdev, fb_alloc_cmap(&fb_info->cmap, 256 , 0); #ifdef CONFIG_MTRR - xgi_video_info.mtrr = mtrr_add( - (unsigned int) xgi_video_info.video_base, - (unsigned int) xgi_video_info.video_size, - MTRR_TYPE_WRCOMB, 1); + xgi_video_info.mtrr = mtrr_add(xgi_video_info.video_base, + xgi_video_info.video_size, MTRR_TYPE_WRCOMB, 1); if (xgi_video_info.mtrr >= 0) dev_info(&pdev->dev, "added MTRR\n"); #endif |